﻿<%@ Page Title="Purchase History" Theme="POSSystem" Language="C#" MasterPageFile="~/EditPages/Popup.Master"
    AutoEventWireup="true" CodeBehind="TransferHistViewer.aspx.cs" Inherits="WebUI.EditPages.TransferHistViewer" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Src="~/Controls/POSControls/TransferListCtrl.ascx" TagName="TransferListCtrl"
    TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PopupHeadHolder" runat="server">
    <script type="text/javascript">
        function printClose() {
            //            document.getElementById('divToolBar').style.display = 'none';
            //            document.getElementById('divStatusBar').style.display = 'none';
            window.print();
            //window.close();
            return false;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PopupToolbarHolder" runat="server">
    <table class="popuptoolbar" width="100%">
        <tr>
            <td style="vertical-align: middle; text-align: left; width:200px">
                <asp:Panel ID="panel1" runat="server" DefaultButton="LinkButton1" >
                    <asp:Label ID="Label4" runat="server" Text="Transfer#"></asp:Label>
                    <asp:TextBox Width="80px" ID="txtTransferNO" runat="server"></asp:TextBox>
                    <asp:LinkButton class="tbbutton" ID="LinkButton1" runat="server" OnClick="btnSearchByNO_OnClick">
                        <img src="../Images/search.png" />
                    </asp:LinkButton>
                    <img src="../Images/tbSep.png" />
                </asp:Panel>
            </td>
            <td style="vertical-align: middle; text-align: left">
                <asp:Panel ID="panel" runat="server" DefaultButton="btnSearch" >
               
                <asp:Label ID="lblDateFrom" runat="server" Text="From"></asp:Label>
                <asp:TextBox ID="txtDateFrom" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="cldExFromCreatedDate" runat="server" TargetControlID="txtDateFrom" >
                                </cc1:CalendarExtender>

                <asp:Label ID="lblDateTo" runat="server" Text="To"></asp:Label>
                
                <asp:TextBox ID="txtDateTo" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="cldExToCreatedDate" runat="server" TargetControlID="txtDateTo">
                                </cc1:CalendarExtender>

                <asp:LinkButton class="tbbutton" ID="btnSearch" runat="server" OnClick="btnSearch_OnClick">
                    <img src="../Images/search.png" />
                </asp:LinkButton>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PopupContentHolder" runat="server">
    <uc:TransferListCtrl ID="tfHistoryList" runat="server" AllowPaging="true"
        AllowSelecting="false" AllowSorting="true" PageSize="10" CssClass="" GridBorder="Solid"
        GridBorderColor="Black" GridLineStyle="Both" Width="100%" />
</asp:Content>
